﻿using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Localization;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FurStudy.Web.Entry.Controllers
{
    internal class TestController : Controller
    {
        private readonly IStringLocalizer _localizer;

        public TestController(IStringLocalizerFactory factory)
        {
            _localizer = factory.Create();
        }

        public IActionResult About()
        {
            ViewData["Message"] = _localizer["Your application description page."];
            return View();
        }
    }
}
